//
//  ZYAudientListModel.h
//  AudientList
//
//  Created by zhangweiwei on 16/6/15.
//  Copyright © 2016年 Erica. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_OPTIONS(NSUInteger, ZYSexType) {
    ZYSexTypeMale              = 0,
    ZYSexTypeFemale
};

/*
 {
 adCount = "-1";
 adId = 0;
 age = 46;
 callTime = "155.9";
 introduce = "8\U70b9\U81f323\U70b9\Uff0c\U804c\U4e1a\U5fc3\U7406\U54a8\U8be2\U5e08\U3002
 \n1\U3001\U5a5a\U59fb\U4fee\U590d\U3001\U60c5\U611f\U633d\U56de\U3002
 \n2\U3001\U5bb6\U5ead\U6559\U80b2\U3001\U538c\U5b66\U3001\U8003\U8bd5\U7d27\U5f20\U3002
 \n3\U3001\U804c\U4e1a\U751f\U6daf\U89c4\U5212\U3002
 \n4\U3001\U5931\U7720\U3001\U6291\U90c1\U3001\U7126\U8651\U3001\U6050\U60e7\U3001\U5f3a\U8feb\U3002
 \n
 \n\U56fd\U5bb6\U4e8c\U7ea7\U5fc3\U7406\U54a8\U8be2\U5e08\Uff0c\U5fc3\U7406\U5b66\U7855\U58eb\Uff0c\U9ad8\U7ea7\U6559\U5e08\Uff0c\U5341\U516d\U5e74\U5fc3\U7406\U54a8\U8be2\U7ecf\U5386\U3002
 \n\U6211\U613f\U610f\U503e\U542c\U4f60\U7684\U751f\U547d\U6545\U4e8b\Uff0c\U966a\U4f60\U8d70\U51fa\U5fc3\U7406\U6a0a\U7b3c\Uff0c\U4f53\U9a8c\U751f\U547d\U7efd\U653e\U7684\U611f\U89c9\U3002
 \n
 \n\U5f62\U5f0f\Uff1a
 \n\U7535\U8bdd\U3001\U6587\U5b57\U3001\U7535\U8bdd\U5957\U9910\U3001\U6587\U5b57\U5957\U9910
 \n\U6d41\U7a0b\Uff1a
 \n1\U3001\U8bf4\U660e\U95ee\U9898
 \n2\U3001\U70b9\U51fb\U4e0b\U5355\U6309\U94ae\Uff0c\U4ed8\U8d39
 \n3\U3001\U9884\U7ea6\U65f6\U95f4
 \n4\U3001\U5728\U9884\U7ea6\U65f6\U95f4\U54a8\U8be2";
 isInvited = 0;
 isV = 2;
 label = "\U60e0_\U901f_\U542c";
 labelColor = "#25d1cb_#f6a621_#f57959";
 labelCount = 3;
 miniCharge = "19.5";
 offline = 0;
 online = 1;
 pic =                 {
 big = "http://avatar.51songguo.com/user/6/122406/big.png";
 normal = "http://avatar.51songguo.com/user/6/122406/normal.png";
 origin = "http://avatar.51songguo.com/user/6/122406/origin.png";
 "size_110" = "http://avatar.51songguo.com/user/6/122406/size_110.png";
 "size_240" = "http://avatar.51songguo.com/user/6/122406/size_240.png";
 "size_70" = "http://avatar.51songguo.com/user/6/122406/size_70.png";
 small = "http://avatar.51songguo.com/user/6/122406/small.png";
 };
 pos = 24375;
 rank = "10.0";
 remark = "\U5957\U9910\U670d\U52a1_\U63a8\U8350\U503e\U542c\U8005_\U503e\U542c\U8005";
 sex = 1;
 tag = "\U53ef\U9884\U7ea6 \U5fc3\U7406\U54a8\U8be2\U5e08 \U5a5a\U59fb\U6cbb\U7597 \U60c5\U611f\U6307\U5bfc \U7855\U58eb \U5df2\U5a5a \U4e13\U6ce8";
 topic = "\U5a5a\U59fb \U60c5\U611f \U804c\U573a";
 type = 1;
 uid = 122406;
 username = "\U5eb7\U8001\U5e08";
 }
 */

@interface ZYAudientListModel : NSObject

/********************返回字段********************/

/**
*  性别
*/
@property (nonatomic, assign) NSInteger isV;


/**
 *  性别
 */
@property (nonatomic, assign) ZYSexType sex;

/**
 *  年龄
 */
@property (nonatomic, assign) NSInteger age;

/**
 *  用户名
 */
@property (nonatomic, copy) NSString *username;

/**
 *  简介
 */
@property (nonatomic, copy) NSString *introduce;

/**
 *  标签
 */
@property (nonatomic, copy) NSString *tag;

/**
 *  折扣标签
 */
@property (nonatomic, copy) NSString *label;

/**
 *  折扣标签颜色
 */
@property (nonatomic, copy) NSString *labelColor;

/**
 *  头像url
 */
@property (nonatomic, copy) NSString *normalPic;
@property (nonatomic, copy) NSString *originPic;
@property (nonatomic, copy) NSString *smallPic;
@property (nonatomic, copy) NSString *bigPic;

/**
 *  类型
 */
@property (nonatomic, assign) NSInteger type;

/**
 *  已出售小时数
 */
@property (nonatomic, copy) NSString *callTime;

/**
 *  音频简介
 */
@property (nonatomic, copy) NSString *audioIntro;

/**
 *  音频简介时长
 */
@property (nonatomic, copy) NSString *audioIntroSecond;

/**
 *  价格
 */
@property (nonatomic, copy) NSString *miniCharge;



/********************附加字段********************/

/**
 *  标签模型
 */
@property (nonatomic, strong) NSArray *tagModels;

/**
 *  折扣标签模型
 */
@property (nonatomic, strong) NSArray *discountTagModels;

/**
 *  cell的高度
 */
@property (nonatomic, assign) CGFloat rowHeight;

/**
 *  判断是否打开
 */
@property (nonatomic, assign, getter=isOpen) BOOL open;

/**
 *  判断是否单行简介
 */
@property (nonatomic, assign, getter=isSingleLineIntro) BOOL singleLineIntro;

/**
 *  详细的描述说明富文本
 */
@property (nonatomic, strong) NSAttributedString *detailIntroAttributedString;
/**
 *  简短的描述说明富文本
 */
@property (nonatomic, strong) NSAttributedString *shortIntroAttributedString;


/**
 *  是否正在播放音频
 */
@property (nonatomic, assign, getter=isPlayAudio) BOOL playAudio;

@end
